<template>
  <div class="index">
 
    <router-view></router-view>

  <van-tabbar route>
    <van-tabbar-item replace to="/index/home" icon="home-o">首页</van-tabbar-item>
    <van-tabbar-item replace to="/index/tuan" icon="hot-o">爆爆团</van-tabbar-item>
    <van-tabbar-item replace to="/index/order" icon="bill-o">订单</van-tabbar-item>
    <van-tabbar-item replace to="/index/mine" icon="user-o">我的</van-tabbar-item>
  </van-tabbar>
  </div>
</template>
  
<script>
export default {
  setup() {

  },
}
</script>
  
<style scoped>
*{
  padding: 0;
  margin: 0;
}
html,body{
  height: 100%;
}
.index{
  height: 100%;
}
.van-tabbar{
  height: 10%;
}
</style>